import { formatUtcString } from '@/utils/date-format';
import { App } from 'vue';

export function registerProperties(app: App) {
  // 全局时间格式化
  app.config.globalProperties.$filters = {
    test() {
      console.log('test');
    },
    formatTime(value: string) {
      return formatUtcString(value);
    }
  };
}
